package com.jkoss.wine.customer.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;

import cn.afterturn.easypoi.excel.annotation.Excel;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.activerecord.Model;

/**
 * 店铺
 * 
 * @Author Jason
 * @Version 1.0, 2019-08-12
 * @See
 * @Since com.jkoss.wine.customer.entity
 * @Description: TODO
 */
public class Shop extends Model<Shop> {

	private static final long serialVersionUID = 1L;

	@TableId("shop_id")
	private String shopId;
	/**
	 * 店铺号
	 */
	@TableField("shop_num")
	@Excel(name = "店铺号", orderNum = "0")
	private Integer shopNum;
	/**
	 * 店铺名称
	 */
	@TableField("shop_name")
	@Excel(name = "客户名称", orderNum = "1")
	private String shopName;
	/**
	 * 店铺logo
	 */
	@TableField("shop_logo")
	private String shopLogo;
	/**
	 * 店铺封面
	 */
	@TableField("shop_cover")
	private String shopCover;
	/**
	 * 联系人
	 */
	@TableField("contacts")
	@Excel(name = "联系人", orderNum = "2")
	private String contacts;
	/**
	 * 联系人号码
	 */
	@TableField("contact_number")
	@Excel(name = "联系人号码", orderNum = "3")
	private String contactNumber;
	/**
	 * 手机号码
	 */
	@TableField("mobile_phone")
	@Excel(name = "手机号码", orderNum = "4")
	private String mobilePhone;
	/**
	 * 操作密码
	 */
	@TableField("operating_pwd")
	private String operatingPwd;
	/**
	 * 地址code 省市县用逗号隔开 比如10001,10002,10003
	 */
	@TableField("area_code")
	@Excel(name = "地址编号", orderNum = "5")
	private String areaCode;
	/**
	 * 地址code 省市县用逗号隔开 比如10001,10002,10003
	 */
	@TableField("area_name")
	@Excel(name = "地址名称", orderNum = "6")
	private String areaName;
	/**
	 * 详细地址
	 */
	@TableField("address")
	@Excel(name = "详细地址", orderNum = "7")
	private String address;
	/**
	 * 邮政编码
	 */
	@TableField("postal_code")
	private String postalCode;
	/**
	 * 添加时间
	 */
	@TableField("add_time")
	private Date addTime;
	/**
	 * 店铺状态 0停用 1启用
	 */
	@TableField("shop_state")
	@Excel(name = "店铺状态", orderNum = "8", replace = { "停用_0", "启用_1" })
	private Integer shopState;
	/**
	 * 是否允许新增商品
	 */
	@TableField("allow_add_product")
	@Excel(name = "是否允许新增商品", orderNum = "9", replace = { "不允许_0", "允许_1" })
	private Integer allowAddProduct;

	@TableField("belongs")
	@Excel(name = "belongs", orderNum = "10")
	private String belongs;
	/**
	 * 操作人
	 */
	@TableField("operator")

	private String operator;
	/**
	 * 经度
	 */
	// @TableField("longitude")
	// private Double longitude;
	/**
	 * 纬度
	 */
	// @TableField("latitude")
	// private Double latitude;
	/**
	 * 是否删除 0否1是
	 */
	@TableField("del")
	private Integer del;
	/**
	 * 员工id(只能查看自己跟进的客户)
	 */
	@TableField("maid")
	private String maid;
	/**
	 * 门店状态：1-新客户、2-门店建设中、3-门店配货中、4-常规客户
	 */
	@TableField("state")
	private Integer state;
	/**
	 * 签约时间
	 */
	@TableField("sgtm")
	@Excel(name = "签约时间", orderNum = "11", format = "yyyy-MM-dd")
	private Date sgtm;
	/**
	 * 客户来源
	 */
	@TableField("source")
	private String source;
	/**
	 * 店铺面积（平方分米）
	 */
	@TableField("ftae")
	private Integer ftae;
	/**
	 * 招商经理
	 */
	@TableField("imid")
	private String imid;
	/**
	 * 区域经理
	 */
	@TableField("rgid")
	private String rgid;
	/**
	 * 运营助理
	 */
	@TableField("opid")
	private String opid;
	/**
	 * 合同编号
	 */
	@TableField("ctno")
	private String ctno;
	/**
	 * 店铺级别
	 */
	@TableField("stle")
	private String stle;
	/**
	 * 店铺布局
	 */
	@TableField("layout")
	private String layout;
	/**
	 * 是否样板店：0-否、1-是
	 */
	@TableField("template")
	private Integer template;
	/**
	 * 备注
	 */
	@TableField("remk")
	private String remk;
	/**
	 * 开业老师
	 */
	@TableField("trid")
	private String trid;
	/**
	 * 合作等级
	 */
	@TableField("cple")
	private String cple;

	public String getShopId() {
		return shopId;
	}

	public void setShopId(String shopId) {
		this.shopId = shopId;
	}

	public Integer getShopNum() {
		return shopNum;
	}

	public void setShopNum(Integer shopNum) {
		this.shopNum = shopNum;
	}

	public String getShopName() {
		return shopName;
	}

	public void setShopName(String shopName) {
		this.shopName = shopName;
	}

	public String getShopLogo() {
		return shopLogo;
	}

	public void setShopLogo(String shopLogo) {
		this.shopLogo = shopLogo;
	}

	public String getShopCover() {
		return shopCover;
	}

	public void setShopCover(String shopCover) {
		this.shopCover = shopCover;
	}

	public String getContacts() {
		return contacts;
	}

	public void setContacts(String contacts) {
		this.contacts = contacts;
	}

	public String getContactNumber() {
		return contactNumber;
	}

	public void setContactNumber(String contactNumber) {
		this.contactNumber = contactNumber;
	}

	public String getMobilePhone() {
		return mobilePhone;
	}

	public void setMobilePhone(String mobilePhone) {
		this.mobilePhone = mobilePhone;
	}

	public String getOperatingPwd() {
		return operatingPwd;
	}

	public void setOperatingPwd(String operatingPwd) {
		this.operatingPwd = operatingPwd;
	}

	public String getAreaCode() {
		return areaCode;
	}

	public void setAreaCode(String areaCode) {
		this.areaCode = areaCode;
	}

	public String getAreaName() {
		return areaName;
	}

	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPostalCode() {
		return postalCode;
	}

	public void setPostalCode(String postalCode) {
		this.postalCode = postalCode;
	}

	public Date getAddTime() {
		return addTime;
	}

	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}

	public Integer getShopState() {
		return shopState;
	}

	public void setShopState(Integer shopState) {
		this.shopState = shopState;
	}

	public Integer getAllowAddProduct() {
		return allowAddProduct;
	}

	public void setAllowAddProduct(Integer allowAddProduct) {
		this.allowAddProduct = allowAddProduct;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public String getBelongs() {
		return belongs;
	}

	public void setBelongs(String belongs) {
		this.belongs = belongs;
	}

	public String getOperator() {
		return operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	// public Double getLongitude() {
	// return longitude;
	// }
	//
	// public void setLongitude(Double longitude) {
	// this.longitude = longitude;
	// }
	//
	// public Double getLatitude() {
	// return latitude;
	// }
	//
	// public void setLatitude(Double latitude) {
	// this.latitude = latitude;
	// }

	public Integer getDel() {
		return del;
	}

	public void setDel(Integer del) {
		this.del = del;
	}

	public String getMaid() {
		return maid;
	}

	public void setMaid(String maid) {
		this.maid = maid;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Date getSgtm() {
		return sgtm;
	}

	public void setSgtm(Date sgtm) {
		this.sgtm = sgtm;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public Integer getFtae() {
		return ftae;
	}

	public void setFtae(Integer ftae) {
		this.ftae = ftae;
	}

	public String getImid() {
		return imid;
	}

	public void setImid(String imid) {
		this.imid = imid;
	}

	public String getRgid() {
		return rgid;
	}

	public void setRgid(String rgid) {
		this.rgid = rgid;
	}

	public String getOpid() {
		return opid;
	}

	public void setOpid(String opid) {
		this.opid = opid;
	}

	public String getCtno() {
		return ctno;
	}

	public void setCtno(String ctno) {
		this.ctno = ctno;
	}

	public String getStle() {
		return stle;
	}

	public void setStle(String stle) {
		this.stle = stle;
	}

	public String getLayout() {
		return layout;
	}

	public void setLayout(String layout) {
		this.layout = layout;
	}

	public Integer getTemplate() {
		return template;
	}

	public void setTemplate(Integer template) {
		this.template = template;
	}

	public String getRemk() {
		return remk;
	}

	public void setRemk(String remk) {
		this.remk = remk;
	}

	public String getTrid() {
		return trid;
	}

	public void setTrid(String trid) {
		this.trid = trid;
	}

	public String getCple() {
		return cple;
	}

	public void setCple(String cple) {
		this.cple = cple;
	}

	@Override
	protected Serializable pkVal() {
		return this.shopId;
	}

	@Override
	public String toString() {
		return "Shop [shopId=" + shopId + ", shopNum=" + shopNum + ", shopName=" + shopName + ", shopLogo=" + shopLogo
				+ ", shopCover=" + shopCover + ", contacts=" + contacts + ", contactNumber=" + contactNumber
				+ ", mobilePhone=" + mobilePhone + ", operatingPwd=" + operatingPwd + ", areaCode=" + areaCode
				+ ", areaName=" + areaName + ", address=" + address + ", postalCode=" + postalCode + ", addTime="
				+ addTime + ", shopState=" + shopState + ", allowAddProduct=" + allowAddProduct + ", belongs=" + belongs
				+ ", operator=" + operator + ", del=" + del + ", maid=" + maid + ", state=" + state + ", sgtm=" + sgtm
				+ ", source=" + source + ", ftae=" + ftae + ", imid=" + imid + ", rgid=" + rgid + ", opid=" + opid
				+ ", ctno=" + ctno + ", stle=" + stle + ", layout=" + layout + ", template=" + template + ", remk="
				+ remk + ", trid=" + trid + ", cple=" + cple + "]";
	}

}
